<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<%@ taglib uri="/tags/c" prefix="c" %>
<%@ taglib uri="/tags/fmt" prefix="fmt"%>



	<c:if test="${param.errorLoginFlag != null && param.errorLoginFlag == 'on'}">
		<div class="row" >
			<div class="span12">
				<div class="alert alert-error">
					<strong>Error:</strong>
					El usuario y/o contraseña no son correctos
				</div>
			</div>
		</div>
	</c:if>
	<form name="login" method="post"  action="j_security_check"  accept-charset="utf-8" onsubmit="javascript:showLoading();"  class="form-horizontal well" >

	<fieldset>
		<legend>
			<bean:message key="subtitle.login"/>
		</legend>
		<div class="control-group">
			<label class="control-label" for="j_username"><bean:message key="label.user"/></label>
			<div class="controls">
				<input type="text"  id="j_username" name="j_username" maxlength="20"  placeholder="usuario" />
			</div>			
		</div>
		<div class="control-group">
			<label class="control-label" for="j_password"><bean:message key="label.password"/></label>
			<div class="controls">
				<input type="password" id="j_password" name="j_password" maxlength="20" placeholder="contraseña" />
			</div>
		</div>
		
		<div class="form-actions">
			<input type="submit" class="btn btn-primary" value="<bean:message key='button.aceptar'/>"/>
			<input type="reset" class="btn" value="<bean:message key='button.limpiar'/>"/>
		</div>
		
	</fieldset>
	</form>

